using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
using CultuRAM.Models;

namespace CultuRAM.Models
{
    [Table("webpages_UsersInRoles")]
    public partial class webpages_UsersInRoles
    {
        [Key, Column(Order = 0)]
        public int UserId { get; set; }
        [Key, Column(Order = 1)]
        public int RoleId { get; set; }

        [ForeignKey("UserId")]
        public virtual UserProfile UserProfile { get; set; }
        [ForeignKey("RoleId")]
        public virtual webpages_Roles Roles { get; set; }
    }
}
